//
//  MBProgressHUD+Category.h
//  UtecPublicClass
//
//  Created by chijianguo on 2022/8/16.
//  Copyright © 2022 U-tec. All rights reserved.
//

#import "MBProgressHUD.h"

NS_ASSUME_NONNULL_BEGIN

@interface MBProgressHUD (Category)

+ (void)showSuccess:(NSString *_Nullable)success;
+ (void)showSuccess:(NSString *_Nullable)success toView:(UIView *_Nullable)view;

+ (void)showError:(NSString *_Nullable)error;
+ (void)showError:(NSString *_Nullable)error toView:(UIView *_Nullable)view;

+ (MBProgressHUD *)showMessage:(NSString *_Nullable)message;
+ (MBProgressHUD *)showMessage:(NSString *_Nullable)message toView:(UIView *_Nullable)view;

+ (void)hideHUD;
+ (void)hideHUDForView:(UIView *_Nullable)view;

@end

NS_ASSUME_NONNULL_END
